package top.chmin.project.cloud.sys.sequence.config.info;

import java.util.Arrays;

import top.chmin.project.cloud.common.ModelColumn;
import top.chmin.project.cloud.common.Column;
import org.springframework.stereotype.Component;


/**
 * chmin
 * 2024-01-29 16:24:04
 * cloud-code
 */
@Component
public class SequenceConfigInfoColumn implements ModelColumn {
    public static final String id = "id";
    /*###########auto#start###########*/
    public static final String date = "date";
    public static final String fixLength = "fix_length";
    public static final String initValue = "init_value";
    public static final String prefix = "prefix";
    public static final String sequenceCode = "sequence_code";
    /*###########auto##end############*/
    /* append $columnFieldAppender$ */
    public static final String createBy = "create_by";
    public static final String updateBy = "update_by";
    public static final String createTime = "create_time";
    public static final String updateTime = "update_time";

    public SequenceConfigInfoColumn() {
        modelColumnMap.put(SequenceConfigInfo.class, Arrays.asList(
                new Column(id),
                /*###########auto#start###########*/
                new Column(date),
                new Column(fixLength),
                new Column(initValue),
                new Column(prefix),
                new Column(sequenceCode),
                /*###########auto##end############*/
                /* append $columnColumnAppender$ */
                new Column(createBy),
                new Column(updateBy),
                new Column(createTime),
                new Column(updateTime)
        ));
    }
}
